VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "Mscomctl.ocx"
Begin VB.Form frmCxCEstadoCuentaBeneficiarios 
   BackColor       =   &H00F7F5F3&
   BorderStyle     =   1  'Fixed Single
   Caption         =   "Beneficiarios"
   ClientHeight    =   3255
   ClientLeft      =   45
   ClientTop       =   435
   ClientWidth     =   9000
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   3255
   ScaleWidth      =   9000
   StartUpPosition =   2  'CenterScreen
   Begin VB.CommandButton cmbBenef 
      BackColor       =   &H00F7F5F3&
      Caption         =   "&Cerrar"
      Height          =   330
      Left            =   90
      Style           =   1  'Graphical
      TabIndex        =   0
      Top             =   2790
      Width           =   1095
   End
   Begin MSComctlLib.ListView lsvBenef 
      Height          =   2490
      Left            =   90
      TabIndex        =   1
      Top             =   90
      Width           =   8790
      _ExtentX        =   15505
      _ExtentY        =   4392
      View            =   3
      LabelEdit       =   1
      LabelWrap       =   -1  'True
      HideSelection   =   -1  'True
      FullRowSelect   =   -1  'True
      _Version        =   393217
      ForeColor       =   -2147483640
      BackColor       =   16250355
      Appearance      =   0
      NumItems        =   7
      BeginProperty ColumnHeader(1) {BDD1F052-858B-11D1-B16A-00C0F0283628} 
         Object.Width           =   0
      EndProperty
      BeginProperty ColumnHeader(2) {BDD1F052-858B-11D1-B16A-00C0F0283628} 
         Alignment       =   1
         SubItemIndex    =   1
         Text            =   "Corr."
         Object.Width           =   1411
      EndProperty
      BeginProperty ColumnHeader(3) {BDD1F052-858B-11D1-B16A-00C0F0283628} 
         SubItemIndex    =   2
         Text            =   "Primer apellido"
         Object.Width           =   2469
      EndProperty
      BeginProperty ColumnHeader(4) {BDD1F052-858B-11D1-B16A-00C0F0283628} 
         SubItemIndex    =   3
         Text            =   "Segundo apellido"
         Object.Width           =   2822
      EndProperty
      BeginProperty ColumnHeader(5) {BDD1F052-858B-11D1-B16A-00C0F0283628} 
         SubItemIndex    =   4
         Text            =   "Primer nombre"
         Object.Width           =   2469
      EndProperty
      BeginProperty ColumnHeader(6) {BDD1F052-858B-11D1-B16A-00C0F0283628} 
         SubItemIndex    =   5
         Text            =   "Segundo nombre"
         Object.Width           =   2469
      EndProperty
      BeginProperty ColumnHeader(7) {BDD1F052-858B-11D1-B16A-00C0F0283628} 
         SubItemIndex    =   6
         Text            =   "Apellido de casada"
         Object.Width           =   2999
      EndProperty
   End
End
Attribute VB_Name = "frmCxCEstadoCuentaBeneficiarios"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Private Sub cmbBenef_Click()
    Unload frmCxCEstadoCuentaBeneficiarios
End Sub
Private Sub Form_Activate()
    gprocEspera False
End Sub
Private Sub Form_Load()
    Dim itm As ListItem
    
    gprocEspera True
    frmCxCEstadoCuenta.adoConsultas.RecordSource = "SELECT * FROM SACF_CXC..cxcBeneficiarios " _
        & "WHERE Contrato = '" & frmCxCEstadoCuenta.txtEdoCta & "' ORDER BY Correlativo"
    frmCxCEstadoCuenta.adoConsultas.Refresh
    
    With frmCxCEstadoCuenta.adoConsultas.Recordset
        While Not .EOF
            Set itm = lsvBenef.ListItems.Add(, , , , 0)
            itm.SubItems(1) = Lee_Campo(.Fields("Correlativo"))
            itm.SubItems(2) = Lee_Campo(.Fields("PrimerApellido"))
            itm.SubItems(3) = Lee_Campo(.Fields("SegundoApellido"))
            itm.SubItems(4) = Lee_Campo(.Fields("PrimerNombre"))
            itm.SubItems(5) = Lee_Campo(.Fields("SegundoNombre"))
            itm.SubItems(6) = Lee_Campo(.Fields("ApellidoCasada"))
            
            .MoveNext
        Wend
    End With
End Sub
Private Sub Form_Unload(Cancel As Integer)
    Set frmCxCEstadoCuentaBeneficiarios = Nothing
End Sub
